{% extends 'base.html' %}

{% block header %}
{% endblock %}
{% block content %}
    <div align="center">
    <img src="/site_media/pic/pyheader.jpg"></img>
    <h2> login in your netbook.</h2>

    {% if form.errors %}
	<p stype="color:red;">
	    Please correct the error{{ form.errors|pluralize }} below.
	</p>
    {% endif %}
    <form action="" method="post">
	<table>
	    {{ form.as_table }}
	</table>
	<input type="submit" value="Login">
    </form>
    <p><a href="/user/register/">register now.</a></p>
    </div>
{% endblock %}
